package com.example.factory.responsibility.slot;


import com.example.factory.factory.StrategyInterface;
import com.example.factory.responsibility.Context;
import com.example.factory.responsibility.ResourceWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

@Component
public abstract class StrategySlot extends AbstractLinkedProcessorSlot<StrategyInterface> {
    @Autowired
    protected final Map<String, StrategyInterface> strategyMap = new ConcurrentHashMap<>();

}
